package com.demo.dao;

import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.demo.model.Receive;
@Transactional(propagation=Propagation.REQUIRES_NEW,readOnly=false,isolation=Isolation.DEFAULT)
public interface ReceiveDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(Receive record);

    int insertSelective(Receive record);

    Receive selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Receive record);

    int updateByPrimaryKeyWithBLOBs(Receive record);

    int updateByPrimaryKey(Receive record);
}